import IService from "./isParseResult";//设计图
import parseService from "../../model/parseResult";//提前规定好的数据类型
import request from "../../request/axios";
import { AxiosPromise } from "axios";

class Service implements IService { //根据设计图来设计
    updateResult(data: parseService): AxiosPromise {
        return request({
            url: '/updateResult/',
            method: 'post',
            data
        })
    }
}

export default new Service();



